﻿using LCL.MVC;
using LCL.Common;
using LCL.Business;

namespace LCL
{
    public class reg : IHandlerFactory
    {
        public void Page_Load(ref NVelocity.VelocityContext context)
        {
            
        }

        public void Page_PostBack(ref NVelocity.VelocityContext context)
        {
            string username = Input.GetString("username");
            string pwd = Input.GetString("pwd");
            string email = Input.GetString("email");
            Users.RegUser(username, pwd, email);
            
        }
    }
}